home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODFDev / Draw / Sources / Dialog.h < prev    next >
Encoding:
Text File  |  1996-12-16  |  2.1 KB  |  82 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Dialog.h
  4. //    Release Version:    $ ODF 3 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DIALOG_H
  11. #define DIALOG_H
  12.  
  13. // ----- Framework Includes -----
  14.  
  15. #ifndef FWFRAME_H
  16. #include "FWFrame.h"
  17. #endif
  18.  
  19. #ifndef FWEVENT_H
  20. #include "FWEvent.h"
  21. #endif
  22.  
  23. #ifndef FWDIALOG_H
  24. #include "FWDialog.h"
  25. #endif
  26.  
  27. //==============================================================================
  28. // Forward Declarations
  29. //==============================================================================
  30.  
  31. class CDrawPart;
  32. class FW_CEditView;
  33. class FW_CButton;
  34.  
  35. //==============================================================================
  36. // class CRoundCornersDialogFrame
  37. //==============================================================================
  38.  
  39. class CRoundCornersDialogFrame : public FW_CDialogFrame
  40. {
  41.   public:
  42.     FW_DECLARE_AUTO(CRoundCornersDialogFrame)
  43.  
  44.     CRoundCornersDialogFrame(Environment* ev, 
  45.                 ODFrame* odFrame, 
  46.                 FW_CPresentation* presentation, 
  47.                 CDrawPart* part);
  48.  
  49.     virtual ~CRoundCornersDialogFrame();
  50.  
  51.   public:    
  52.     // ---- FW_CDialogFrame API
  53.     virtual void         HandleNotification(Environment* ev, const FW_CNotification& notification);
  54.  
  55.     // ----- FW_CView & FW_CFrame API
  56.     virtual void         PostCreateViewFromStream(Environment* ev);
  57.  
  58.     // ----- Private data
  59.   private:
  60.       CDrawPart*             fDrawPart;
  61.     FW_CButton*         fRoundEndsButton;
  62.     FW_CEditView*         fPointsView;
  63. };
  64.  
  65. //========================================================================================
  66. //    class CNumberFilter
  67. //========================================================================================
  68.  
  69. class CNumberFilter : public FW_MEventHandler
  70. {
  71. public:
  72.     FW_DECLARE_CLASS
  73.     FW_DECLARE_AUTO(CNumberFilter)
  74.  
  75.     CNumberFilter();
  76.     virtual    ~CNumberFilter();
  77.  
  78.     // ----- FW_MEventHandler API
  79.     virtual FW_Handled     DoCharKeyDown(Environment* ev, const FW_CCharKeyEvent& theCharKeyEvent);
  80. };
  81.  
  82. #endif